package model;

public class Student {
    private String name;
    private String preferenceType;
    private int quantity;
    private boolean selected = false;

    public Student(String name, String preferenceType, int quantity) {
        this.name = name;
        this.preferenceType = preferenceType;
        this.quantity = quantity;
    }

    public String getName() {
        return name;
    }

    public String getPreferenceType() {
        return preferenceType;
    }

    public int getQuantity() {
        return quantity;
    }

    public boolean hasSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}
